package com.example.dps;

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.content.res.Configuration;
import android.os.Bundle;
import android.webkit.WebView;
import com.downpayment.dps.R;

public class ToSActivity extends Activity{


	
	@Override
	public void onConfigurationChanged(Configuration newConfig){
		super.onConfigurationChanged(newConfig);
		setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
	}
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		this.setContentView(R.layout.privacy_policy_layout);
		
		Utility.adjustBackground(this);
		
		WebView webView = (WebView) findViewById(R.id.webView);
		
		webView.getSettings().setJavaScriptEnabled(true);
		webView.loadUrl("file:///android_asset/" + "termsofservice.html");
		
		
		
	}
}
